package top.wangjiu.reactive.rpc.autoconfigure.server;


import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(ReactiveServerAutoConfiguration.class)
public @interface EnableRpcServer {

    //使用rpcServer替换默认的web容器
    boolean mainServer() default false;

}
